package com.fm.demo.joke

import com.bumptech.glide.Glide
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.fm.demo.R

/**
 * @CreateData:     2019/11/29 17:00
 * @E-Mail:         709674174@qq.com
 * @Author:         lyy
 * @Description:    类描述
 */
class JokeItemImageAdapter : BaseQuickAdapter<String, BaseViewHolder>(R.layout.item_joke_image_layout) {

    override fun convert(holder: BaseViewHolder, item: String) {
        Glide.with(context).load(item).into(holder.getView(R.id.item_joke_image_iv))
    }
}